package Consolidado;

public class WsHL7V25_RecepcionSoapPortProxy implements Consolidado.WsHL7V25_RecepcionSoapPort {
  private String _endpoint = null;
  private Consolidado.WsHL7V25_RecepcionSoapPort wsHL7V25_RecepcionSoapPort = null;
  
  public WsHL7V25_RecepcionSoapPortProxy() {
    _initWsHL7V25_RecepcionSoapPortProxy();
  }
  
  public WsHL7V25_RecepcionSoapPortProxy(String endpoint) {
    _endpoint = endpoint;
    _initWsHL7V25_RecepcionSoapPortProxy();
  }
  
  private void _initWsHL7V25_RecepcionSoapPortProxy() {
    try {
      wsHL7V25_RecepcionSoapPort = (new Consolidado.WsHL7V25_RecepcionLocator()).getwsHL7v25_RecepcionSoapPort();
      if (wsHL7V25_RecepcionSoapPort != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)wsHL7V25_RecepcionSoapPort)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)wsHL7V25_RecepcionSoapPort)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (wsHL7V25_RecepcionSoapPort != null)
      ((javax.xml.rpc.Stub)wsHL7V25_RecepcionSoapPort)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public Consolidado.WsHL7V25_RecepcionSoapPort getWsHL7V25_RecepcionSoapPort() {
    if (wsHL7V25_RecepcionSoapPort == null)
      _initWsHL7V25_RecepcionSoapPortProxy();
    return wsHL7V25_RecepcionSoapPort;
  }
  
  public Consolidado.WsHL7V25_RecepcionExecuteResponse execute(Consolidado.WsHL7V25_RecepcionExecute parameters) throws java.rmi.RemoteException{
    if (wsHL7V25_RecepcionSoapPort == null)
      _initWsHL7V25_RecepcionSoapPortProxy();
    return wsHL7V25_RecepcionSoapPort.execute(parameters);
  }
  
  
}